package com.bw.service;

import com.bw.dao.FoodDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FoodServiceImp implements FoodService{
    @Autowired
    FoodDao foodDao;
    @Override
    public List<Map> sumTotal() {
        return foodDao.sumTotal();
    }

    @Override
    public List<Map> payTotal() {
        return foodDao.payTotal();
    }

    @Override
    public List<Map> zbTotal() {
        return foodDao.zbTotal();
    }

    @Override
    public List<Map> proTotal() {
        return foodDao.proTotal();
    }
}
